#include <stdio.h>
#include <unistd.h>

#include <Thread.h>

typedef struct {
    char name[100];
} HandleData;

createThreadHandle(handle) {
    HandleData *handleData = (HandleData*)data;

    printf("createThreadHandle: %s\n", handleData->name);
}

int	main(int argc, char **argv)
{
    printf("Hello World\n");

    HandleData data = {.name = "Hello World"};

    Thread thread;
    createThread(&thread, handle, &data);
    runThread(&thread);

    sleep(1);

    return 0;
}

